Skip to content

chore: add GitHub Copilot configuration#46

Merged
anilcancakir merged 3 commits intov1from
chore/copilot-config
Mar 31, 2026
Merged

chore: add GitHub Copilot configuration#46
anilcancakir merged 3 commits intov1from
chore/copilot-config

Conversation

@anilcancakir
Copy link
Copy Markdown
Collaborator

Summary

  • Convert Claude Code project config (CLAUDE.md, rules, commands, skills) to GitHub Copilot equivalents
  • Generate .github/copilot-instructions.md, 5 path-scoped .instructions.md files, release prompt, 3 agent definitions
  • Include sync script at .github/scripts/sync-cc-to-copilot.sh for future rule updates

Test plan

  • Verify .github/copilot-instructions.md under 4,000 chars
  • Verify applyTo: globs match intended file paths
  • Verify agent files load correctly in Copilot
  • Run sync script to confirm it regenerates instructions correctly

Generate copilot-instructions.md, path-scoped .instructions.md files,
release prompt, agent definitions, and sync script from existing
CLAUDE.md, .claude/rules/, .claude/commands/, and skills/.
Copilot AI review requested due to automatic review settings March 31, 2026 17:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GitHub Copilot configuration to the repo by translating existing Claude Code rules/prompts into Copilot instruction files, prompts, and agents, plus a sync script to regenerate them.

Changes:

  • Added repo-level Copilot instructions plus multiple path-scoped .instructions.md files for widgets/parsers/tests/docs/examples.
  • Added a release prompt and three Copilot agent definitions tailored to Wind UI workflows.
  • Added a sync script to convert .claude/rules/*.md into .github/instructions/*.instructions.md.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/scripts/sync-cc-to-copilot.sh Generates Copilot .instructions.md files from .claude/rules frontmatter + body.
.github/prompts/release.prompt.md Adds a structured release workflow prompt (validation → bump → publish).
.github/instructions/widgets.instructions.md Path-scoped widget conventions for lib/src/widgets/**/*.dart.
.github/instructions/tests.instructions.md Path-scoped testing conventions for test/**/*.dart.
.github/instructions/parsers.instructions.md Path-scoped parser conventions for lib/src/parser/**/*.dart.
.github/instructions/example-pages.instructions.md Path-scoped example page conventions for example/lib/pages/**/*.dart.
.github/instructions/docs.instructions.md Path-scoped documentation conventions for doc/**/*.md.
.github/copilot-instructions.md Repo-wide Copilot guidance: architecture summary, conventions, gotchas, checklist.
.github/agents/wind-ui.agent.md Agent definition focused on Wind UI patterns and widget usage.
.github/agents/wind-example-builder.agent.md Agent definition for creating/updating example pages and routes.
.github/agents/wind-doc-writer.agent.md Agent definition for writing docs based on actual implementation details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anilcancakir anilcancakir merged commit 5de1505 into v1 Mar 31, 2026
4 checks passed
@anilcancakir anilcancakir mentioned this pull request Mar 31, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants